package com.digital.smartgrow.entity.process;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 审批流节点

 * </p>
 *
 * @author sunyuechao
 * @since 2022-07-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("up_process_item")
@ApiModel(value="UpProcessItem对象", description="审批流节点 ")
public class UpProcessItem implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "排序")
    @TableField("morder")
    private String morder;

    @ApiModelProperty(value = "节点标识")
    @TableField("code")
    private Integer code;

    @ApiModelProperty(value = "节点名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "前节点标识")
    @TableField("proCode")
    private Integer proCode;

    @ApiModelProperty(value = "后节点标识")
    @TableField("aftCode")
    private Integer aftCode;

    @ApiModelProperty(value = "所属")
    @TableField("superCode")
    private Integer superCode;

    @ApiModelProperty(value = "审批人类型，0：角色，1：自由人")
    @TableField("isRole")
    private Integer isRole;

    @ApiModelProperty(value = "审批角色ID")
    @TableField("role")
    private Integer role;

    @ApiModelProperty(value = "审批人ID")
    @TableField("people")
    private Integer people;

    @ApiModelProperty(value = "必审,0：否，1：是")
    @TableField("isVerify")
    private Integer isVerify;

    @ApiModelProperty(value = "归档,0：否，1：是")
    @TableField("isFiles")
    private Integer isFiles;

    @ApiModelProperty(value = "创建时间")
    @TableField("createTime")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField("updateTime")
    private LocalDateTime updateTime;


}
